const HomePage = () => import("../page/HomePage");
const CollectionPoints = () => import("../page/CollectionPoints");
const UserControl = () => import("../page/UserControl");
const MointorResult = () => import("../page/MonitorResult");
const ChannelConfig = () => import("../page/ChannelConfig/index.jsx")

export default [
	{
		id: 3425,
		name: "首页",
		parent_id: 3365,
		menu_index: 1,
		uri: '/HomePage',
		component: HomePage
	},
	{
		id: 3425,
		name: "配置中心",
		parent_id: 3365,
		menu_index: 1,
		uri:"/Home",
		children: [
			{
				id: 3425,
				name: "链路配置",
				menu_index: 1,
				code: "channel_config",
				uri: "/Home/ChannelConfig",
				component: ChannelConfig
			},
			{
				id: 3425,
				name: "采集点管理",
				menu_index: 1,
				code: "ManageCollectionPoints",
				uri: "/Home/ManageCollectionPoints",
				component: CollectionPoints
			}
		]
	},
	{
		id: 3377,
		name: "监测结果",
		parent_id: 3365,
		menu_index: 4,
		code: "alarm",
		uri: "/Home/MonitorResult",
		hidden: false,
		component: MointorResult
	},

	{
		id: 3430,
		name: "用户中心",
		parent_id: 3365,
		menu_index: 6,
		code: "control_center",
		uri: "/UserControlCenter",
		component: UserControl
	},
	{
		id: 3430,
		name: "",
		menu_index: 6,
		code: "control_center",
		uri: "/Home/Channel/Config",
		hidden: true,
		component: () => import('../page/ChannelConfig/ConfigPage')
	},
	{
		id: 3372,
		name: "实时监测列表",
		parent_id: 3365,
		menu_index: 2,
		code: "monitoring_list",
		uri: "/Home/MonitoringList",
		component: () => import('../page/MonitoringList')
	}, {
		id: 3372,
		name: "节点对比情况",
		parent_id: 3365,
		menu_index: 2,
		code: "monitoring_detail",
		uri: "/Home/MonitoringDetail/:channelId",
		hidden: true,
		component: () => import('../page/MonitoringList/Detail.js')
	}, {
		id: 3372,
		name: "时间选择",
		parent_id: 3365,
		menu_index: 2,
		code: "time_picker",
		uri: "/Home/TimePicker",
		hidden: true,
		component: () => import('../page/ChannelConfig/CronConfigPage')
	}, {
		id: 3372,
		name: "数据统计",
		parent_id: 3365,
		menu_index: 2,
		code: "statistic",
		uri: "/Home/Statistic",
		component: () => import('../page/Statistic/index')
	},

]
